package com.attilax.io;

import java.io.File;

public class fileService {

	public static void checkExistEx(String webxml) {
		File F=	new File(webxml);
		if(!F.exists())
			throw new RuntimeException("filenotexist:"+webxml);
	}

	public static File getFileWithExistChkEx(String webxml) {
		File F=	new File(webxml);
		fileService.checkExistEx(webxml);
		return F;
	}

}
